package o2o.dao.PO.shop;

import javax.persistence.Entity;
import java.util.ArrayList;
import java.util.List;

//店铺属性信息

@Entity
public class ShopSpecs {
    private Long id;
    private Long shopId;
    private Long specsTypeId;
    private String name;
    private String descs;
    private Double price;
    private Double originalPrice;

    private Integer isUsed;//是否使用中  0未使用  1使用中

    private Integer delFlag;
    private String createUser;
    private String updateUser;
    private Long createTime;
    private Long updateTime;
    private Integer orderNo;


    private List<ShopSpecsImages> images = new ArrayList<ShopSpecsImages>();//属性图片列表
    private List<ShopSpecsTimes> times = new ArrayList<ShopSpecsTimes>();//属性可预约时间列表


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getSpecsTypeId() {
        return specsTypeId;
    }

    public void setSpecsTypeId(Long specsTypeId) {
        this.specsTypeId = specsTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescs() {
        return descs;
    }

    public void setDescs(String descs) {
        this.descs = descs;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(Integer isUsed) {
        this.isUsed = isUsed;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public List<ShopSpecsImages> getImages() {
        return images;
    }

    public void setImages(List<ShopSpecsImages> images) {
        this.images = images;
    }


    public List<ShopSpecsTimes> getTimes() {
        return times;
    }

    public void setTimes(List<ShopSpecsTimes> times) {
        this.times = times;
    }
}
